home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / ab20 / unarced / graphics / pbmplus / pnm / pnmconvol.man < prev    next >
Text File  |  1995-03-17  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      pnmconvol(1)         AMIGA (13 January 1991)         pnmconvol(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.           pnmconvol - general MxN convolution on a portable anymap
  10.  
  11.      SYNOPSIS
  12.           pnmconvol convolutionfile [pnmfile]
  13.  
  14.      DESCRIPTION
  15.           Reads two portable anymaps as input.  Convolves the second
  16.           using the first, and writes a portable anymap as output.
  17.  
  18.           Convolution means replacing each pixel with a weighted
  19.           average of the nearby pixels.  The weights and the area to
  20.           average are determined by the convolution matrix.  The
  21.           unsigned numbers in the convolution file are offset by
  22.           -maxval/2 to make signed numbers, and then normalized, so
  23.           the actual values in the convolution file are only relative.
  24.  
  25.           Here is a sample convolution file; it does a simple average
  26.           of the immediate neighbors, resulting in a smoothed image:
  27.               P2
  28.               3 3
  29.               18
  30.               10 10 10
  31.               10 10 10
  32.               10 10 10
  33.  
  34.           The convolution file will usually be a bitmap or graymap
  35.           instead of a pixmap, so that the same convolution gets
  36.           applied to each color component.  However, if you want to
  37.           use a pixmap and do a different convolution to different
  38.           colors, you can certainly do that.
  39.  
  40.      SEE ALSO
  41.           pnm(5)
  42.  
  43.      AUTHOR
  44.           Copyright (C) 1989, 1991 by Jef Poskanzer.
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/19/91)
  64.  
  65.  
  66.  
  67.